---
title: sortAz
---

When using the `format` command, determines which fields within package.json files should be sorted alphabetically. When the value is an Object, its keys are sorted alphabetically. When the value is an Array, its values are sorted alphabetically.

## Default Value

```json title=".syncpackrc.json"
{
  "sortAz": [
    "bin",
    "contributors",
    "dependencies",
    "devDependencies",
    "keywords",
    "peerDependencies",
    "resolutions",
    "scripts"
  ]
}
```

:::note

There is no equivalent CLI Option for this configuration.

:::
